import sys

import os

#执行文件目录
current_file_path = os.path.abspath(__file__)
current_folder = os.path.dirname(current_file_path)
print("当前文件所在文件夹：", current_folder)

#终端运行目录
current_folder = os.getcwd() 